package cn.zzuisa.news.repository;

import cn.zzuisa.news.entity.News;
import cn.zzuisa.news.entity.Page;
import cn.zzuisa.news.form.NewsEditForm;
import cn.zzuisa.news.form.NewsForm;
import java.util.List;

public interface NewsRepository {
  List<News> list();
  
  Page ListByTypesName(Integer paramInteger1, Integer paramInteger2, String paramString1, String paramString2);
  
  Page page(Integer paramInteger1, Integer paramInteger2, String paramString);
  
  Page pagelist(Integer paramInteger1, Integer paramInteger2);
  
  Page pagelist(Integer paramInteger1, Integer paramInteger2, String paramString1, String paramString2);
  
  Page search(Integer paramInteger1, Integer paramInteger2, String paramString1, String paramString2);
  
  List<News> listpass();
  
  boolean click(Integer paramInteger);
  
  boolean add(NewsForm paramNewsForm);
  
  News findById(Integer paramInteger);
  
  boolean edit(NewsEditForm paramNewsEditForm);
  
  boolean setState(Integer paramInteger1, Integer paramInteger2);
}


/* Location:              /Users/frank/Desktop/admin/WEB-INF/classes/!/cn/zzuisa/news/repository/NewsRepository.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */